package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：获取股票账户开户数据，统计周期为一周
* @author: codesmith
**/
public interface StkAccountBean extends BaseBean {
    String API_NAME = "stk_account";
    
    interface Fields {
    String date = "date";    //统计周期
    String weekly_new = "weekly_new";    //本周新增（万）
    String total = "total";    //期末总账户数（万）
    String weekly_hold = "weekly_hold";    //本周持仓账户数（万）
    String weekly_trade = "weekly_trade";    //本周参与交易账户数（万）
    }
    
    interface Params {
        date date = new date();
        /*
        * 日期
        */
        class date extends BaseRequestParam {
            { key = "date"; }
        }
        start_date start_date = new start_date();
        /*
        * 开始日期
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 结束日期
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
    }
}